/*
 * @Author: your name
 * @Date: 2021-01-29 15:08:34
 * @LastEditTime: 2021-02-04 11:04:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \wechat-node\routes\auth.js
 */
const router = require('koa-router')();
// const {checkSession} = require('../utils/utils');
// 消息模块
const newsRouter = require('./news');
// 单位模块
const companyRouter = require('./company');
// 文件夹模块
const folderRouter = require('./folder')
// 


router.use('', companyRouter.routes(), companyRouter.allowedMethods());
router.use('', folderRouter.routes(), folderRouter.allowedMethods());
router.use('', newsRouter.routes(), newsRouter.allowedMethods());


module.exports = router;